from os import name
from typing import Dict, List

from elasticsearch import Elasticsearch

import sys
sys.path.append("../workflow4threeman")
from networkit import *
from workflow.Configuration import DataBaseConfig
from workflow.TextPayLoad import TextPayLoad
from workflow.NetPayLoad import NetPayLoad
from workflow.DataExtractor.es_extractor import ElasticSearchConfig,ElasticSearchDataExtractor
from workflow.NetAnalyzer.community_anylyzer import CommunityAnalyzerConfig,CommunityAnalyzer


def main():
    CAC = CommunityAnalyzerConfig()
    CA = CommunityAnalyzer(CAC)
    CA.analyze()
main()